<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>基础资料-部门员工</title>
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.6.7/themes/bootstrap/easyui.css"/>
    <link rel="stylesheet" href="jquery-easyui-1.6.7/themes/icon.css"/>
    <link rel="stylesheet" href="css/icon.css"/>
    <link rel="stylesheet" href="jquery-easyui-1.6.7/themes/icon_expand.css"/>
    <link rel="stylesheet" href="css/icon.css"/>
    <link rel="stylesheet" href="css/jc_tree.css"/>
    <script type="text/javascript" src="jQuery/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/datagrid-filter/datagrid-filter.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery-easyui-edatagrid/jquery.edatagrid.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/datagrid-export/datagrid-export.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/jquery.easyui.expand.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.6.7/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="js/pages/jc/button_generate.js"></script>
    <script type="text/javascript" src="js/util/loadEventUtil.js"></script>
    <script type="text/javascript" src="js/util/memoryColumnUtil.js"></script>
    <link rel="stylesheet" href="css/global.css">
</head>
<body th:data-menu_id="${MENU_ID}">
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'west',width:142,split:true">
        <div class="easyui-layout" data-options="fit:true">
            <div id="tree_north" data-options="region:'north',height:42">
            </div>
            <div data-options="region:'center'">
                <ul id="e_tree"/>
                <div class="easyui-dialog"
                     id="e_tree_dialog"
                     data-options="title:'部门编辑',
                                   iconCls:'icon-edit',
                                   closed:true,
                                   modal:true,
                                   width:300,
                                   height:275,
                                   buttons:[
                                   {text:'取消',iconCls:'icon-cancel',handler:e_tree_dialog_cancel},
                                   {text:'保存',iconCls:'icon-save',handler:e_tree_dialog_save}
                                   ],
                                   onClose:function(){
                                        $('t_form').form('clear');
                                   }
                    ">
                    <form id="t_form" method="post" accept-charset="UTF-8">
                        <div class="edit-input hidden">
                            <input class="easyui-textbox" name="id" data-options="label:'编号：'">
                        </div>
                        <div class="edit-input">
                            <input class="easyui-textbox" name="dCode" data-options="label:'编号：',required:true">
                        </div>
                        <div class="edit-input">
                            <input class="easyui-textbox" name="dName" data-options="label:'部门名称：',required:true">
                        </div>
                        <div class="edit-input">
                            <input class="easyui-combotree" name="parentId" data-options="
                            label:'所属类别：',
                            url:'department/tree',
                            method:'GET',
                            limitTiList:true,
                            textField:'text',
                            valueField:'id',
                            panelHeight:200
                        ">
                        </div>
                        <div class="edit-input">
                            <input class="easyui-combobox" name="dState" data-options="label:'状态：',
                            data:[{id:1,text:'正常'},{id:0,text:'停用'}],
                            textField:'text',
                            valueField:'id',
                            required:true,
                            value:1,
                            panelHeight:'auto',
                            editable:false
                        ">
                        </div>
                        <div class="edit-input">
                            <input class="easyui-checkbox" name="dDefault" data-options="label:'默认：',
                            value:true,
                        ">
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div data-options="region:'center'">
        <div class="easyui-layout" data-options="fit:true">
            <div id="north" data-options="region:'north',height:42">
            </div>
            <div data-options="region:'center'">
                <table id="e_grid"/>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="js/pages/jc/jc_employee.js"></script>
</html>